package com.naiterui.ehp.bs.cms.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.cms.common.vo.PageParamsVO;
import com.naiterui.ehp.bs.cms.common.vo.PageVO;
import com.naiterui.ehp.bs.cms.modules.user.entity.Pharmacist;
import com.naiterui.ehp.bs.cms.modules.user.vo.NationVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.PharmacistDetailVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.PharmacistVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.record.RecordInfoVO;
import java.io.IOException;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

public interface IPharmacistService extends IService<Pharmacist> {

  PageVO<PharmacistVO> queryPage(PageParamsVO pageParamsVO, PharmacistVO pharmacistVO);

  PharmacistDetailVO queryById(Long id);

  String upload(MultipartFile file, Integer type) throws IOException;

  List<NationVO> getNations();

  RecordInfoVO recordInfo(Long userId);

  String uploadFile(Integer type, MultipartFile file) throws IOException;

  void updateRecordInfo(RecordInfoVO recordInfoVO) throws BusinessException;
}
